package com.aletto.general_store.utils.watchers;

import android.text.TextUtils;
import android.widget.TextView;

public class EmptyRule implements IRule {

    private final TextView textView;

    public EmptyRule(TextView textView) {
        this.textView = textView;
    }

    @Override
    public boolean validation() {
        return !TextUtils.isEmpty(textView.getText());
    }

}
